Tobias Frost [Mon, 12 Dec 2022 13:33:40 +0000 (14:33 +0100)]
[PATCH] Use the sps from the image
(as e.g mc_chroma is using the sps to determine
picture properties, like pic_width_in_luma_samples
and pic_height_in_luma_samples, I *think* this is
more correct.
This PR is for discussion. (See #345.)
It makes the failures go away, but that does not mean it's correct :)
The following poc will be stop failing if (only) this
patch is applied:
The following are still failing if only this patch is
applied, but they stop failing if #365 is applied as well, but will
still fail with ONLY #365 applied (IOW, both are needed)
* Non-maintainer upload by the LTS Team.
(Closes: #1059275)
* CVE-2023-49465
heap-buffer-overflow in derive_spatial_luma_vector_prediction()
* CVE-2023-49467
heap-buffer-overflow in derive_combined_bipredictive_merging_candidates()
* CVE-2023-49468
global buffer overflow in read_coding_unit()